package com.star.pickstarbackend.service;

import com.star.pickstarbackend.pojo.User;

public interface UserService {
    User findByUsername(String username);

    void register(String username, String password , String email, String phone, String realname , String role, String avatar);

    void update(User user);

    void update(String avatarUrl, Integer id);

    void updatePwd(String newPwd);
}
